package xyz.ljcc.ccmt.handler.records;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import xyz.ljcc.ccmt.commons.utils.layui.LayuiColumn;
import xyz.ljcc.ccmt.service.api.records.BaseRecordService;

@RestController
@RequestMapping("/baseRecord")
public class BaseRecordHandler {

	@Autowired
	BaseRecordService baseRecordService;
	
	@PostMapping("/loadCols")
	public List<List<LayuiColumn>> loadCols(String reportName,String patientId,String visitId) {
		return baseRecordService.loadLayColumns(reportName,patientId,visitId);
	}
	
	
	
	
	
	
}
